package com.cxria.pattern.decorate

class SortDecorator extends Decorator {

    SortDecorator(SchoolReport sr) {
        super(sr)
    }

    private void reportSort(){
        println '排名第38'
    }

    @Override
    void report() {
        super.report()
        this.reportSort()
    }

}
